﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 材质分类服务接口
    /// </summary>
    public interface IMaterialCatalogService
    {
        string Add(T_Material_Catalog model);

        bool Delete(List<string> identifiers);

        bool Update(T_Material_Catalog model);

        bool SaveOrUpdate(List<T_Material_Catalog> list);

        T_Material_Catalog GetById(string identifier);

        List<T_Material_Catalog> GetList(string pidentifier);

        PageData<T_Material_Catalog> Query(string pIdentifier, string identifier, string eName, string cName, PageInfo page);
    }
}
